<div class="sign-wrap">
	<div class="sign-title">
		<h1>欢迎登录</h1>
		<h2>
			<a ui-sref="access.reg.phone">注册</a>
		</h2>
	</div>
	<div class="r-form-wrap sign-body">
		<div class="r-form-group">
			<div class="r-form-control">
				<i class="iconfont r-form-item-icon">&#xe622;</i>
				<input type="text" class="r-form-item" placeholder="请输入账号" ng-change="checkLoginUser();" ng-model="user.username">
			</div>
			<p class="r-form-error mg-m-t" ng-show="error.phone.flag" ng-hide="!error.phone.flag" ng-bind="error.phone.msg"></p>
		</div>
		<div class="r-form-group mg-b-t">
			<div class="r-form-control">
				<i class="iconfont r-form-item-icon">&#xe680;</i>
				<input type="text" onfocus="this.type='password'" class="r-form-item" placeholder="请输入密码" ng-change="checkLoginPwd();" ng-model="user.password">
			</div>
			<p class="r-form-error mg-m-t" ng-show="error.pwd.flag" ng-hide="!error.pwd.flag" ng-bind="error.pwd.msg"></p>
		</div>
		<div class="r-h-layout r-layout-center r-layout-space-between mg-m-t mg-m-b">
			<p class="r-h-layout r-layout-center" >
			  <input type="checkbox" id="auto-login" value="auto-login">
			  <label for="auto-login" class="txt-cl-3 txt-sz-4 mg-s-l">自动登录</label>
			</p>
			<span class="txt-cl-3 txt-sz-5"><a ui-sref="access.findpwd">忘记密码</a></span>
		</div>
		<p class="r-button r-button-submit" ng-click="login();">登录</p>
	</div>
</div>